home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / xv_pc17.zip / MICKEY.H < prev    next >
C/C++ Source or Header  |  1994-08-01  |  986b  |  32 lines

  1. #ifndef MICKEYH
  2. #define MICKEYH
  3.  
  4. /*
  5.  Header for the C version of the MICKEY unit.
  6.  By Antonio Carlos Moreirao de Queiroz - acmq@coe.ufrj.br
  7.  See files "xview_pc.txt" and "mickey.txt" for more details.
  8.  Version 1.1 30/4/94
  9.  Version 1.2 01/08/94 - The same header for Borland C/C++ and GNU C
  10. */
  11.  
  12. extern int mousex,mousey,mouseb;          /* Mouse status */
  13. extern int cursor_active;                 /* If the mouse is displayed */
  14. #ifdef __TURBOC__
  15. extern int x_factor;                      /* Mouse correction factor */
  16. #endif
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. void  mouse_init(void);            /* Inicialization */
  22. void  cursor_on(void);             /* Shows mouse cursor */
  23. void  cursor_off(void);            /* Hides mouse cursor */
  24. void  mouse_read(void);            /* Fills mouse status */
  25. void  mouse_move(int x,int y);     /* Moves the mouse cursor */
  26. int mkbhit(void);                  /* Key pressed */
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30.  
  31. #endif
  32.